package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysCombo;
import com.ruoyi.system.domain.SysDishes;
import com.ruoyi.system.domain.SysOtherDates;
import org.apache.ibatis.annotations.Update;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

public interface SysOthersMapper {
    SysOtherDates getDatas();

    SysOtherDates getDatasToday();

    List<SysOtherDates> getDatasSev();
    int updateDishesShopping(SysDishes sysDishes);
    int updateComboShopping(SysCombo sysCombo);
    List<SysDishes> selectDishesTop();
    List<SysCombo> selectComboTop();
    SysDishes selectShoppingChangeById(SysDishes sysDishes);
    @Update("update sys_dishes set shopping_change=0")
    void resetShoppingDishes();
    List<String> getCommend();
}
